﻿using Windows.UI.Xaml.Controls;

//Partial in shared assembly

namespace SharPy
{
    public sealed partial class MainPage : Page
    {
        public MainPage()
        {
            this.InitializeComponent();
            InitPage();
        }

        #region Headers
        private async void SectionHeaderClick(object sender, HubSectionHeaderClickEventArgs e)
        {
            switch (e.Section.Name)
            {
                case "About":
                    AboutFlyout CustomSettingFlyout = new AboutFlyout();
                    CustomSettingFlyout.ShowIndependent();
                    break;
                default:
                    break;
            }

        }
        #endregion
    }
}